//响应数据
export interface ResponseData {
  code: number
  message: string
  ok?: boolean
}

export interface TradeMark {
  id?: number
  tmName: string
  logoUrl: string
}

export type Records = TradeMark[]

//响应数据
export interface TradeMarkResponseData extends ResponseData {
  data: {
    records: Records
    total: number
    size: number
    current: number
    searchCount: boolean
    pages: number
  }
}

export interface successResponseData extends ResponseData {
  data: null
}

//响应数据
export interface Result<T = any> {
  code: number
  data: T
  message: string
}
